package com.wang.jmonkey;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.wang"})
@ServletComponentScan
public class JmonkeyApplication {

    public static void main(String[] args) {
        // SpringApplication.run(JmonkeyApplication.class, args);

        SpringApplication application = new SpringApplication(JmonkeyApplication.class);
        application.setBannerMode(Banner.Mode.OFF);
        application.run(args);
    }

}
